home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programmer Power Tools
/
Programmer Power Tools.iso
/
c
/
jazlib.arc
/
GETES.ASM
< prev
next >
Wrap
Assembly Source File
|
1986-04-06
|
1KB
|
27 lines
Comment *
┌────────────────────────────────────────────────────────────────────────────┐
│getds.asm │
│Return the Code segment value │
│ │
│Usage: │
│ unsigned int ds; │
│ │
│ ds = getds(); │
│ │
│ (C) JazSoft Software by Jack A. Zucker (301) 794-5950 │
└────────────────────────────────────────────────────────────────────────────┘
*
title get es value
name getes
assume cs:_text
_text segment public byte 'code'
public _getes
_getes proc near
mov ax,es
ret
_getes endp
_text ends
end